<?php
echo $_SERVER['PHP_SELF'];

echo "<br />";
echo str_replace( '\\' , '/' , realpath(dirname(__FILE__).'/../../'));